<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Shopping Cart | Pandora China</title>
    <link rel="stylesheet" href="/css/cart.css">
    <script src="/libs/util.js"></script>
    <link rel="stylesheet" type="text/css" href="/libs/pandora/iconfont.css">

</head>

<body>
    <header></header>
    <section>
        <div class="content">
            <div class="cart-point">
                <p>你只需要消费 <span class="money">0.00</span>CNY 便可享免费送货服务</p>
            </div>
            <div class="cart-topic">
                <div class="cart-content">
                    你的购物车
                </div>
            </div>
            <div class="cart-options clearfix">
                <div class="cart-options-left">

                </div>
                <script type="text/html" id="cart-options-left-Template">
                {{each cart shop}}
                <div class="cart-option clearfix" data-id ="{{shop.id}}" >
                        <div class="cart-option-img">
                            <a href="/html/detail.html?id={{shop.id}}"><img src="{{shop.smallSrc[0]}}" alt=""></a> 
                        </div>
                        <div class="cart-option-des">
                            <span >
                                <img src="/images/images/x_03.jpg" alt="">
                            </span>
                            <div class="cart-option-sign">
                                有货
                            </div>
                            <div class="cart-option-name">{{shop.name}}</div>
                            <div class="cart-option-price">{{shop.price}} CNY</div>
                            <div class="detailed-information-jiade"></div>
                            <ul class="detailed-information">
                                <li>商品编号 23344455</li>
                                <li>金属：925银</li>
                                <li>宝石Crystals</li>
                                <li>颜色：蓝色</li>
                            </ul>
                            <div class="cart-option-clik">
                                <a href="javascript:;">浏览详情</a>
                                <a href="javascript:;">隐藏详情</a>
                            </div>

                            <div class="cart-option-num">
                                <div class="collect"></div>
                                <fieldset>
                                    <legend>数量</legend>
                                    <div id="changeNum" class="changeNum">
                                        <input type="text" value="{{shop.num}}">
                                        <button class="addBtn" type="button">+</button>
                                        <button class="subBtn" type="button">-</button>
                                    </div>
                                </fieldset>

                            </div>
                        </div>
                    </div>
                    {{/each}}
                    <div class="preferential">
                        <div class="preferential-title">输入优惠码</div>
                        <form action="">
                            <div class="preferential-content">
                                <input type="text" name="" id="">
                                <input type="button" value="应用">
                            </div>
                        </form>


                    </div>
                </script>
                <div class="cart-options-right">
                    <div class="cart-options-accounts">
                        <div class="cart-options-accounts-content">
                            <div class="total-title">
                                合计
                            </div>
                            <div class="total-box">
                                <div class="total clearfix">
                                    <span>合计</span>
                                    <span>&nbsp;CNY</span>
                                    <span>0.00&nbsp;</span>
                                </div>
                                <div class="total clearfix">
                                    <span>配送费</span>
                                    <span>&nbsp;CNY</span>
                                    <span>0.00&nbsp;</span>

                                </div>
                                <div class="total clearfix">
                                    <span>共计</span>
                                    <span>&nbsp;CNY</span>
                                    <span>0.00</span>
                                </div>
                            </div>

                        </div>
                        <form>
                            <input type="button" value="结算">
                        </form>
                        <div class="square-accounts">

                        </div>
                    </div>

                </div>
            </div>
        </div>
    </section>
    <footer></footer>
    <script src="/libs/requirejs/require.min.js" data-main="/js/cart"></script>
</body>

</html>